package com.uzai.console.mapper;

import com.uzai.console.entity.Cdkeys;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CdkeysMapper {
    int deleteById(Long id);

    int insert(Cdkeys record);

    int insertSelective(Cdkeys record);

    Cdkeys selectById(Long id);

    Cdkeys selectCardForOldCardExchange(@Param("type") Integer type);

    Cdkeys selectByCard(String card);

    Cdkeys selectByOldCard(String oldCard);

    int updateById(Cdkeys record);
}